CC = g++
CFLAGS = -g -Wall -Werror -std=c++2a -lpthread

all : threadpool mythreadpool

threadpool: threadpool_main.cc
	$(CC) -o threadpool threadpool_main.cc $(CFLAGS)

mythreadpool: threadpool.cc
	$(CC) -o mythreadpool threadpool.cc $(CFLAGS)

schuduler: example.cpp 
	$(CC) -o schuduler example.cpp $(CFLAGS)
priorityScheduler: ./priority_scheduler/multiple_periodic_tasks.cc
	$(CC) -o priorityScheduler ./priority_scheduler/multiple_periodic_tasks.cc $(CFLAGS)
clean:
	rm -rf *.o
	rm threadpool
	rm mythreadpool
	rm schuduler
	rm priorityScheduler
